package com.yanxu.abstractfactory;

import com.yanxu.domain.Article;
import com.yanxu.domain.ArticlePython;
import com.yanxu.domain.Video;
import com.yanxu.domain.VideoPython;

/**
 * @author 折戟沉沙铁未销
 * @version V1.0
 * @date 2025/3/12-2025
 * @Description: 这里用一句话描述这个类的作用
 */
public class CourseFactoryPython implements CourseFactory{
    @Override
    public Video getVideo() {
        return new VideoPython();
    }

    @Override
    public Article getArticle() {
        return new ArticlePython();
    }
}